﻿<Page x:Class="OFX.Aggregator.WpfApplication.ErrorReportPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Name="errorReportPage" Title="Error"
    HorizontalAlignment="Center" VerticalAlignment="Center"
    ShowsNavigationUI="False">

    <StackPanel>
        <TextBlock FontSize="24" FontWeight="Normal" VerticalAlignment="Top" HorizontalAlignment="Center" TextWrapping="WrapWithOverflow" TextAlignment="Center">
            <TextBlock.Text>
                <Binding ElementName="errorReportPage" Path="ErrorMessage"/>
            </TextBlock.Text>
        </TextBlock>
        <Button Name="buttonOK" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,20" Padding="18,4" IsDefault="True" Click="buttonOK_Click">Close</Button>
    </StackPanel>
</Page>
